SRCS =  task_send.cpp task_recv.cpp task_man.cpp task_map.cpp buf_map.cpp
OBJS =  task_send.o task_recv.o task_man.o task_map.o buf_map.o
HDRS = ../define/ 
LIBUTILS = libtask.a

CC = g++
CFLAGS =  -c -g
INCLUDES = ../define
%.o : %.cpp
	$(CC) $(CFLAGS) -I$(INCLUDES) $< $(LDFLAGS) -o  $@

$(LIBUTILS): $(OBJS)
	ar -cr $(LIBUTILS) $(OBJS)
	ranlib $(LIBUTILS)

clean:
	rm -f *.o *.a
